import permission from './hasPermission'
const install = function (app: any) {
  app.directive('permission', permission)
}
if (window.Vue) {
  window['permission'] = permission
  Vue.use(install)
}
permission.install = install
export default permission
